﻿using AIO.Entity.Base;
using System.Reflection;
using static Microsoft.EntityFrameworkCore.DbLoggerCategory;

namespace AIO.Entity.DataInit
{
    public static class EntityInitData
    {
        public static Department[] departments { get; } =
        {
            new Department
                {
                    Id = Guid.NewGuid(),
                    Name = "电子信息系",
                    Code =1,
                    CreateTime = DateTime.Now
                },
                new Department
                {
                    Id = Guid.NewGuid(),
                    Name = "电气工程系",
                    Code =2,
                    CreateTime = DateTime.Now,
                },
                new Department
                {
                    Id = Guid.NewGuid(),
                    Name = "无人机系",
                    Code =3,
                    CreateTime = DateTime.Now,
                },
                new Department
                {
                    Id = Guid.NewGuid(),
                    Name = "汽车维修系",
                    Code =4,
                    CreateTime = DateTime.Now,
                },
                new Department
                {
                    Id = Guid.NewGuid(),
                    Name = "电气系",
                    Code =5,
                    CreateTime = DateTime.Now,
                },
                new Department
                {
                    Id = Guid.NewGuid(),
                    Name = "现代服务系",
                    Code =6,
                    CreateTime = DateTime.Now,
                }
        };

        public static Account[] accounts { get; } =
        [
            new Account
            {
                Id= Guid.NewGuid(),
                AccountName="admin",
                AccountPassword="aio123456"
            },
            new Account
            {
                Id= Guid.NewGuid(),
                AccountName="fangshenkun",
                AccountPassword="fsk123456"
            },
            new Account
            {
                Id= Guid.NewGuid(),
                AccountName="luoyao",
                AccountPassword="luoyao"
            },
             new Account
            {
                Id= Guid.NewGuid(),
                AccountName="litao",
                AccountPassword="litao"
            },
        ];

        public static Student[] students { get; } = [
               new Student{
                    Id= Guid.NewGuid(),
                    Name="张三",
                    FirstName="张",
                    LastName="三",
                    StudentOrder=1,
                    IDNo="610101010101010101",
                    Gender=GenderEnum.男,
                    PhoneNumber="13111011010"
                },
                new Student{
                    Id= Guid.NewGuid(),
                    Name="王琳琳",
                    FirstName="王",
                    LastName="琳琳",
                    StudentOrder=0,
                    IDNo="61111010101010101",
                    Gender=GenderEnum.男,
                    PhoneNumber="13111011010"
                },
                new Student{
                    Id= Guid.NewGuid(),
                    Name="煮个孔明",
                    FirstName="煮个",
                    LastName="孔明",
                    StudentOrder=1,
                    IDNo="64000000001111111",
                    Gender=GenderEnum.男,
                    PhoneNumber="13111011010"
                },
           ];

        public static Teacher[] teachers { get; } = [
               new Teacher{
                    Id= Guid.NewGuid(),
                    Name="张老师",
                    FirstName="张",
                    LastName="老师",
                    TeacherOrder=2,
                    IDNo="610101010101010101",
                    Gender=GenderEnum.男,
                    PhoneNumber="13111011010"
                },
                new Teacher{
                    Id= Guid.NewGuid(),
                    Name="王老师",
                    FirstName="王",
                    LastName="老师",
                    TeacherOrder=3,
                    IDNo="61111010101010101",
                    Gender=GenderEnum.女,
                    PhoneNumber="13111011010"
                },
                new Teacher{
                    Id= Guid.NewGuid(),
                    Name="诸葛",
                    FirstName="诸葛",
                    LastName="老师",
                    TeacherOrder=2,
                    IDNo="64000000001111111",
                    Gender=GenderEnum.男,
                    PhoneNumber="13111011010"
                },
           ];
        public static TeacherAttender[] teacherattender { get; } = [
              new TeacherAttender{
                  Id= Guid.NewGuid(),
                  TeacherName="张老师",
                  TeacherId=Guid.NewGuid(),
                  CreateTime = DateTime.Now,

                },
                new TeacherAttender{
                    Id= Guid.NewGuid(),
                    TeacherName="王老师",
                  TeacherId=Guid.NewGuid(),
                  CreateTime = DateTime.Now,
                },
                new TeacherAttender{
                    Id= Guid.NewGuid(),
                    TeacherName="诸葛老师",
                  TeacherId=Guid.NewGuid(),
                  CreateTime = DateTime.Now,
                },
           ];
        public static Equip[] equips { get; } = [
               new Equip{
                    Id= Guid.NewGuid(),
                    Name="椅子",
                    Style="铁",
                    Number="三",
                    Price="123",
                }
           ];
        public static Classroom[] classroom { get; } = [
               new Classroom{
                   Id= Guid.NewGuid(),
                   Name="李四",

               }

           ];
        public static EquipMaintenance[] EquipMaintenances { get; } = [
             new EquipMaintenance{
                    EquipId= "112",
                    Fault="漏电",
                    Content="换电池",
                    Result="换好了",
                    Unit="李小英",
                }
         ];

        public static PayInfo[] payInfos { get; } = [
                new  PayInfo{
                    Id= Guid.NewGuid(),
                    MoneyShould=2000.00,
                    MoneyActual=1500.00,
                    PayTime= DateTime.Now,
                },
             new  PayInfo{
                    Id= Guid.NewGuid(),
                    MoneyShould=2000.00,
                    MoneyActual=1200,
                    PayTime= DateTime.Now,
                }
            ];

        public static TimeTable[] timetables { get; } = [
              new TimeTable{
                    Id= Guid.NewGuid(),
                    ClassHour=45,
                    CourseName="语文" 

                },
                new TimeTable{
                    Id= Guid.NewGuid(),
                    ClassHour=45,
                    CourseName="数学"

                },
                new TimeTable{
                    Id= Guid.NewGuid(),
                    ClassHour=45,
                    CourseName="英语"

                },
                new TimeTable{
                    Id= Guid.NewGuid(),
                    ClassHour=50,
                    CourseName="小孩的产后护理"

                },
                 new TimeTable{
                    Id= Guid.NewGuid(),
                    ClassHour=30,
                    CourseName="体育"

                },
                new TimeTable{
                    Id= Guid.NewGuid(),
                    ClassHour=48,
                    CourseName="小孩的孕前保养"
                },
                new TimeTable{
                    Id= Guid.NewGuid(),
                    ClassHour=48,
                    CourseName="小孩的产中期锻炼计划"
                },
                new TimeTable{
                    Id= Guid.NewGuid(),
                    ClassHour=50,
                    CourseName="计算机一级"
                },
                new TimeTable{
                    Id= Guid.NewGuid(),
                    ClassHour=40,
                    CourseName="计算机实践"
                },
                new TimeTable{
                    Id= Guid.NewGuid(),
                    ClassHour=40,
                    CourseName="计算机基础"
                },
                new TimeTable{
                    Id= Guid.NewGuid(),
                    ClassHour=40,
                    CourseName="C语言"
                },
                 new TimeTable{
                    Id= Guid.NewGuid(),
                    ClassHour=42,
                    CourseName="小孩的PhotoShop"
                },
                 new TimeTable{
                    Id= Guid.NewGuid(),
                    ClassHour=52,
                    CourseName="跟着小孩学剪辑"
                },
                new TimeTable{
                    Id= Guid.NewGuid(),
                    ClassHour=52,
                    CourseName="工厂实践"
                },
           ];
        public static Reporting[] Reportings { get; } = [
                 new Reporting{
                        Reportname="阿福",
                    Reportedquantity=666,
                },

            ];

    }
}
